package com.aaa.sso.feign;

import com.aaa.entity.BAppeal;
import com.aaa.entity.BBusinessInfo;
import com.aaa.util.PageInfo;
import com.aaa.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient("sys-behind")
public interface BehindService {

    @PostMapping("/b-appeal")
    Result findAll(@ModelAttribute PageInfo page, @ModelAttribute BAppeal bAppeal);

    @PostMapping("/b-appeal/tongguo")
    Result updTongguo(BAppeal bAppeal);
    @PostMapping("/b-appeal/bohui")
    Result updBohui(BAppeal bAppeal);

    @PostMapping("/b-business-info")
    Result findAll(@ModelAttribute PageInfo page, @ModelAttribute BBusinessInfo bBusinessInfo);

    @PostMapping("/b-business-info/loadingstatus")
    Result loadingStatus(BBusinessInfo businessInfo);

}
